import { createRequest } from '/@/api/service';
const module = 'ib/base/v1/PhotoCarouselApi/';

/**
 * @function 查询图片轮播列表
 * @param data
 * @param header
 * @returns {Promise}
 */
function QUERY_PHOTO_CAROUSEL_LIST(
  data: PhotoCarouselApi.QueryPhotoCarouselListReq,
  header: object = {},
): Promise<PhotoCarouselApi.QueryPhotoCarouselListResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}queryPhotoCarouselList`,
    data,
    header,
    'POST',
  );
}

export { QUERY_PHOTO_CAROUSEL_LIST };
